//
//  VoiceReadFooterView.h
//  ShowYork
//
//  Created by hxh on 2021/4/19.
//  Copyright © 2021 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VoiceReadPlayerItemModel.h"
NS_ASSUME_NONNULL_BEGIN


@protocol VoiceReadFooterViewDelegate <NSObject>


@optional
- (void)footerViewPlayWithCurrentModel:(VoiceReadPlayerItemModel *)currentModel;
- (void)footerViewPauseWithCurrentModel:(VoiceReadPlayerItemModel *)currentModel;
- (void)footerViewDeleteWithCurrentModel:(VoiceReadPlayerItemModel *)currentModel;
@end

@interface VoiceReadFooterView : UIView

@property (nonatomic,weak)id<VoiceReadFooterViewDelegate>delegate;
@property (nonatomic,strong)VoiceReadPlayerItemModel *itemModel;
@property (nonatomic,copy)NSString *title;
@property (nonatomic,copy)NSString *coverUrl;

- (void)linearAnimation;
- (void)stopAnimation;



@end

NS_ASSUME_NONNULL_END
